<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>爱选</title>
<meta name="keywords" content="" />
<meta name="description"  content="" />
<link href="/static/css/ixuan.css" rel="stylesheet" type="text/css" /></head>
<script type="text/javascript" src="/static/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/static/js/i.js"></script>
<script type="text/javascript" src="/static/js/ixuan.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("b.current").hide();
		$("input[name='email']").blur(function(){
			email=$("input[name='email']").attr("value")
			if (email != null && email != ""){
					$("b.current:eq(0)").show();
			}else{
					$("b.current:eq(0)").hide();
			}
		});
		$("input[name='passwd1']").blur(function(){
			passwd1=$("input[name='passwd1']").attr("value")
			if (passwd1 != null && passwd1 != ""){
					$("b.current:eq(1)").show();
			}else{
					$("b.current:eq(1)").hide();
			}
		});
		$("input[name='passwd2']").blur(function(){
			passwd1=$("input[name='passwd1']").attr("value")
			passwd2=$("input[name='passwd2']").attr("value")
			if (passwd1 != null && passwd1 != "" && passwd1 == passwd2){
					$("b.current:eq(2)").show();
			}else{
					$("b.current:eq(2)").hide();
			}
		});
		$("input[name='nickname']").blur(function(){
			nickname=$("input[name='nickname']").attr("value")
			if (nickname != null && nickname != ""){
					$("b.current:eq(3)").show();
			}else{
					$("b.current:eq(3)").hide();
			}
		});
		
		$("#registerform").submit(function(){
			passwd1=$("input[name='passwd1']").attr("value")
			passwd2=$("input[name='passwd2']").attr("value")
			if (passwd1 == passwd2){
				return true;
			}else{
				return false;
			}
		});
	});
</script>
<body>
<div class="top">
    <div class="header">
      <div class="logo"><a href="http://localhost:8080"><img src="/static/images/logo.gif" alt="爱选" /><img src="/static/images/logotext.gif" alt="爱选" /></a></div>
      <div class="headInfo">
          <div class="myInfo"><a href="/login/">登录</a>  <a href="/register/">注册</a></div>
          <div class="search"><input name="" type="text" class="seaIn" /><input name="" type="button" class="seaSo" value="搜索"/></div>
      </div>
    </div>
</div>
<form action="/register/" method="post" id="registerform">
<div class="wrapper">
        <div class="infoChange">
          <dl>
                <dt><em>*</em>电子邮箱：</dt>
                <dd><input name="email" type="text" /></dd>
				<dd><b class="current"></b>&nbsp;</dd>
          </dl>
             <dl>
                <dt><em>*</em>登录密码：</dt>
                <dd><input name="passwd1" type="password" /></dd>
                <dd><b class="current"></b>&nbsp;</dd>
            </dl>
             <dl>
                <dt><em>*</em>确认密码：</dt>
                <dd><input name="passwd2" type="password" /></dd>
                <dd><b class="current"></b>&nbsp;</dd>
            </dl>
            <dl>
                <dt><em>*</em>昵称：</dt>
                <dd><input name="nickname" type="text" /></dd>
                <dd><b class="current"></b>&nbsp;</dd>
            </dl>
            <dl>
                <dt><em>*</em>验证码：</dt>
                <dd><input type="text" name="captcha" style="width:50px; vertical-align:top" maxlength="20" />
                <img id="imgValidateCode" alt="附加码" src="/captcha" /> </dd>
                <dd><b class="current"></b></dd>
            </dl>
			<dl>
                <dt><em>*</em></dt>
                <dd><input type="submit" style="width:50px; vertical-align:top" maxlength="4" name="submit" value="注册"/>
            </dl>
        </div>
</form>
<div class="h20"></div>
<div class="h20"></div>
<div class="h20"></div>
<div class="h20"></div>
<div class="h20"></div>
<div class="h20"></div>
<div class="h20"></div>
</div>
<div class="foot">
    <div>关于我们 · 联系我们 · 意见反馈   © 2011 dXXXX.com, all rights reserved                                         ICP：34325434667</div>
</div>
</body>
</html>
